#ifndef SEAM_H
#define SEAM_H

#include <iostream>
#include <QPoint>

using namespace std;

class Seam
{
public:
    Seam(int nbPoints);
    ~Seam();
    int getSumEnergy();
    void addPoint(int x, int y);
    QPoint* getPoint(int numPoint);
    //int sumEnergy;
    void setSumEnergy(int sumEnergy);
    bool operator<(const Seam & seam) const;
    void initValue(int value);
    int getNbPoints();

private :
    int sumEnergy;
    QPoint** points;
    int numEndElement;
    int nbPoints;

};

#endif // SEAM_H
